package com.demo.eshop.pdetail.service.product;

import com.demo.eshop.pdetail.entity.ProductInventory;

/**
 * @author: e20160504
 * @date: 2018/10/29
 * @desc
 */
public interface ProductInventoryService {

    void updateProductInventory(ProductInventory productInventory);

    void removeProductInventoryCache(ProductInventory productInventory);

    ProductInventory findProductInventory(Integer productId);

    void setProductInventoryCache(ProductInventory productInventory);

    ProductInventory getProductInventoryCache(Integer productId);
}
